Namespace definitions
Global namespace containing types and functions accessible without any namespace prefix.
Global namespace containing types and functions accessible without any namespace prefix.
Types
A data type that represents large integers with high precision, capable of handling very large numbers. Uses java.math.BigInteger
internally.
An array of bytes. This type is immutable.
Represents a mutable array list.
Represents a mutable map that preserves entry iteration order.
Represents a mutable set of elements. The set is a hash-set with an iteration order determined by the order the elements was first added to the set.
Functions
Gets the absolute value of a big_integer.
Gets the absolute value of a decimal.
Gets the absolute value of a integer.
Asserts that two values are equal.
Asserts that the expected events has been emitted during last block
Asserts that a function fails to evaluate
Asserts that a function fails with an expected message
Asserts that the value is false
.
Asserts that the value is greater than or equal to the expected value
Asserts that the value is greater than or equal to the first value and less than or equal to the second value.
Asserts that the value is greater than or equal to the first value and less than the second value.
Asserts that the value is greater than the expected value
Asserts that the value is greater than the first value and less than or equal to the second value.
Asserts that the value is greater than the first value and less than the second value.
Asserts that the value is less than or equal to the expected value
Asserts that the value is less than the expected value
Asserts that two values are not equal.
Asserts that the value is not null
.
Asserts that the value is null
.
Asserts that the value is true
.
Calculates an Ethereum public key from a signature and hash.
Calculates a Keccak256 hash of a byte array and returns a byte array.
Identifies the larger of two big_integer values.
Identifies the larger of two decimal values.
Identifies the larger of two integer values.
Determines the smaller of two big_integer values.
Determines the smaller of two decimal values.
Determines the smaller of two integer values.
Checks for precence of a value and throws an exception if null.
Checks for empty list and throws an exception if empty.
Checks for empty map and throws an exception if empty.
Checks for empty set and throws an exception if empty.
Checks for precence of a value and throws an exception if null.
Checks for empty list and throws an exception if empty.
Checks for empty map and throws an exception if empty.
Checks for empty set and throws an exception if empty.
Calculates an SHA-256 hash of a byte array and returns a byte array.
Calls a function and handles exceptions gracefully, returning null if an exception occurs.
Calls a function that doesn't return a value and handles exceptions gracefully.
Calls a function and handles exceptions gracefully, providing a fallback value if an exception occurs.
Verifies a signature against a message and public key.